﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace PlanAPI.model
{
    public class PLBasModelPirceModel
    {
        
        public class PricePeriod
        {
            #region Entity

            public class Entity
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("价格带")]
                public string PriceName { get; set; }


                [ParamDescription("开始价格")]
                public decimal PriceBegin { get; set; }


                [ParamDescription("结束价格")]
                public decimal PriceEnd { get; set; }


                [ParamDescription("备注")]
                public string Remark { get; set; }


                [ParamDescription("审核状态")]
                public int CheckState { get; set; }


                [ParamDescription("操作人")]
                public string Checker { get; set; }


                [ParamDescription("修改时间")]
                public DateTime MofifyDTM { get; set; }


                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }


                [ParamDescription("抽数时间")]
                public DateTime LoadTime { get; set; }


                [ParamDescription("修改时间")]
                public DateTime EtlDate { get; set; }


                [ParamDescription("价格带数值")]
                public decimal PriceValue { get; set; }

            }

            #endregion

            #region ListModel

            public class ListModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("价格带")]
                public string PriceName { get; set; }


                [ParamDescription("开始价格")]
                public decimal PriceBegin { get; set; }

                [ParamDescription("结束价格")]
                public decimal PriceEnd { get; set; }

                [ParamDescription("审核状态")]
                public int CheckState { get; set; }

                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }

                [ParamDescription("价格带数值")]
                public decimal PriceValue { get; set; }
            }

            #endregion

            #region UpdateModel

            public class UpdateModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("价格带")]
                public string PriceName { get; set; }


                [ParamDescription("开始价格")]
                public decimal PriceBegin { get; set; }


                [ParamDescription("结束价格")]
                public decimal PriceEnd { get; set; }


                [ParamDescription("备注")]
                public string Remark { get; set; }


                [ParamDescription("审核状态")]
                public int CheckState { get; set; }


                [ParamDescription("操作人")]
                public string Checker { get; set; }


                [ParamDescription("修改时间")]
                public DateTime MofifyDTM { get; set; }


                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }


                [ParamDescription("抽数时间")]
                public DateTime LoadTime { get; set; }


                [ParamDescription("修改时间")]
                public DateTime EtlDate { get; set; }


                [ParamDescription("价格带数值")]
                public decimal PriceValue { get; set; }

            }

            #endregion

            #region InsertModel

            public class InsertModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("价格带")]
                public string PriceName { get; set; }


                [ParamDescription("开始价格")]
                public decimal PriceBegin { get; set; }


                [ParamDescription("结束价格")]
                public decimal PriceEnd { get; set; }


                [ParamDescription("备注")]
                public string Remark { get; set; }


                [ParamDescription("审核状态")]
                public int CheckState { get; set; }


                [ParamDescription("操作人")]
                public string Checker { get; set; }


                [ParamDescription("修改时间")]
                public DateTime MofifyDTM { get; set; }


                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }


                [ParamDescription("抽数时间")]
                public DateTime LoadTime { get; set; }


                [ParamDescription("修改时间")]
                public DateTime EtlDate { get; set; }


                [ParamDescription("价格带数值")]
                public decimal PriceValue { get; set; }


            }

            #endregion
        }


        public class ModelPirce
        {
            #region Entity

            public class Entity
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("类别")]
                public string KindID { get; set; }


                [ParamDescription("品类")]
                public string ModelID { get; set; }


                [ParamDescription("小品类")]
                public string ItemID { get; set; }


                [ParamDescription("价格带")]
                public decimal PriceName { get; set; }


                [ParamDescription("备注")]
                public string Remark { get; set; }


                [ParamDescription("审核状态")]
                public int CheckState { get; set; }


                [ParamDescription("操作人")]
                public string Checker { get; set; }


                [ParamDescription("修改时间")]
                public DateTime MofifyDTM { get; set; }


                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }


                [ParamDescription("抽数时间")]
                public DateTime LoadTime { get; set; }


                [ParamDescription("修改时间")]
                public DateTime EtlDate { get; set; }

            }

            #endregion

            #region ListModel

            public class ListModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("类别")]
                public string KindID { get; set; }


                [ParamDescription("品类")]
                public string ModelID { get; set; }


                [ParamDescription("小品类")]
                public string ItemID { get; set; }


                [ParamDescription("价格带")]
                public string PriceName { get; set; }


                

                #region 新增

                [ParamDescription("品类")]
                public string ModelName { get; set; }

                [ParamDescription("小品类")]
                public string ItemName { get; set; }

                [ParamDescription("类型")]
                public string KindName { get; set; }

                [ParamDescription("价格带数值")]
                public decimal PriceValue { get; set; }

                [ParamDescription("是否已经配置本条数据")]
                public bool Selected { get; set; }

                #endregion

            }

            #endregion

            #region UpdateModel

            public class UpdateModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("类别")]
                public string KindID { get; set; }


                [ParamDescription("品类")]
                public string ModelID { get; set; }


                [ParamDescription("小品类")]
                public string ItemID { get; set; }


                [ParamDescription("价格带")]
                public decimal PriceName { get; set; }

                
            }

            #endregion

            #region InsertModel

            public class InsertModel
            {
                [ParamDescription("公司代码")]
                public string CompanyID { get; set; }


                [ParamDescription("类别")]
                public string KindID { get; set; }


                [ParamDescription("品类")]
                public string ModelID { get; set; }


                [ParamDescription("小品类")]
                public string ItemID { get; set; }


                [ParamDescription("价格带")]
                public decimal PriceName { get; set; }


                [ParamDescription("备注")]
                public string Remark { get; set; }


                [ParamDescription("审核状态")]
                public int CheckState { get; set; }


                [ParamDescription("操作人")]
                public string Checker { get; set; }


                [ParamDescription("修改时间")]
                public DateTime MofifyDTM { get; set; }


                [ParamDescription("允许使用")]
                public int AllowUsed { get; set; }


                [ParamDescription("抽数时间")]
                public DateTime LoadTime { get; set; }


                [ParamDescription("修改时间")]
                public DateTime EtlDate { get; set; }





            }

            #endregion

            #region UpdateModel

            public class UpdateModelList
            {
                [ParamDescription("数据列表")]
                public IList<UpdateModel> List { get; set; }
            }

            #endregion
        }

    }
}
